Picture: A Simple Structured Graphics Model
نویسندگان
چکیده
We present in this paper a simple, device-independent model for describing two-dimensional graphics using a functional language. Graphical scenes, or pictures, are represented as values that functions can manipulate and inspect to create new values. Complete pictures are constructed by repeatedly composing such picture values together using picture com-binators. A novel aspect of the model presented is its use of structured translation to abstractly express the geometric composition of arbitrary pictures. The structured graphics model presented has been implemented in Haskell, and we also give an overview of a general rendering framework for traversing a picture value. Applications of this renderer include both output to various graphical systems, testing for picking or selection of a picture and the computation of the bounding box of an arbitrary picture. The graphics model forms the basis for all graphical output in a user interface framework being developed in Haskell.
منابع مشابه
Pictures : A simple structured graphics
We present in this paper a simple graphical model for describing graphics using a functional language. Two-dimensional graphical scenes are represented using a recursive data type, where pictures are constructed by repeatedly composing smaller pictures together. The model is device-independent and provides the basic capabilities of a purely functional page description language. One novel aspect...
متن کاملApplying Object-Oriented Design to Structured Graphics
Structured graphics is useful for building applications that use a direct manipulation metaphor. Objectoriented languages offer inheritance, encapsulation, and runtime binding of operations to objects. Unfortunately, standard structured graphics packages do not use an object-oriented model, and object-oriented systems do not provide general-purpose structured graphics, relying instead on low-le...
متن کامل3-D Reconstruction of Objects Using Digital Fringe Projection: Survey and Experimental Study
Three-dimensional reconstruction of small objects has been one of the most challenging problems over the last decade. Computer graphics researchers and photography professionals have been working on improving 3D reconstruction algorithms to fit the high demands of various real life applications. Medical sciences, animation industry, virtual reality, pattern recognition, tourism industry, and re...
متن کاملAPPLYtNGOBJECT-ORIENTEDDESIGN TOSTRUCTUREDGRAPHICS
Structured graphics is useful for building applications that use a direct manipulation metaphor. Object-oriented languages offer inheritance, encapsulation, and runtime binding of operations to objects. Unfortunately, standard structured graphics packages do not use an object-oriented model, and object-oriented systems do not provide general-purpose structured graphics, relying instead on low-l...
متن کاملProjects in VR Experimental Platforms for Computational Photography
The principles of photography have remained largely unchanged since its invention by Joseph Nicéphore Niépce in the 1820s. A lens focuses light from the scene onto a photosensitive plate, which records this information directly to form a picture. Because this picture is a simple copy of the optical image reaching the plate, improvements in image quality have been achieved primarily by refi ning...
متن کاملذخیره در منابع من
با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید
عنوان ژورنال:
دوره شماره
صفحات -
تاریخ انتشار 1995